<%-- 
    Document   : examRequest
    Created on : Jan 14, 2010, 6:23:14 PM
    Author     : Jalbs
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <logic:present name="examRequestForm">
            <logic:equal property="action" name="examRequestForm" value="s">
                <h2 align="center">Solicitud agregada</h2>
            </logic:equal>
            <logic:equal property="action" name="examRequestForm" value="f">
                <h2 align="center">Su solicitud no pudo ser agregada</h2>
            </logic:equal>
        </logic:present>
        <html:form action="/adminExam/addExamRequest">
         <table style="margin:auto">
         <tr>
            <td align="right">Fecha :</td>
            <td><html:text property="applicationDate" /></td>
         </tr>
         <tr>
            <td align="right">Hora :</td>
            <td><html:text property="applicationTime" /></td>
         </tr>
         <tr>
            <td align="right">Status :</td>
            <td><html:text property="status" /></td>
         </tr>
         <tr>
            <td align="right">Descripcion :</td>
            <td><html:text property="description" /></td>
         </tr>
         <tr>
             <td></td>
             <td><html:submit value="Agregar"/></td>
         </tr>
        </table>
        </html:form>
    </body>
</html>
